import request from '/@/utils/request';
export function systemVersionsApi() {
	return {
		index: (params) => {
			return request({
				url: '/system/versions/index',
				method: 'get',
				params
			});
		},
		add: (data) => {
			return request({
				url: '/system/versions/add',
				method: 'post',
				data,
			});
		},
		edit: (data) => {
			return request({
				url: '/system/versions/edit',
				method: 'post',
				data,
			});
		},
		del: (data) => {
			return request({
				url: '/system/versions/del',
				method: 'post',
				data,
			});
		},
	};
}